							<div class="portlet-body">
								<table class="table table-striped table-bordered" id="sample_1">
									<thead>
										<tr>
											<th>Judul Ujian</th>
											<th class="hidden-phone">Tanggal</th>
											<th>Nilai</th>
											<th class="hidden-phone">Mata Pelajaran</th>
											<th class="center hidden-phone">Passing Grade</th>
											<th>Status</th>
											<th>Detail</th>
										</tr>
									</thead>
									<tbody>
									<?php foreach ($rows as $row){?>
										<tr class="odd gradeX">
											<td><?php echo $row->uj_name;?></td>
											<td class="center hidden-phone"><?php echo date('d-m-Y', strtotime($row->uj_date));?></td>
											<td><?php echo $row->nilai;?></td>
											<td class="center hidden-phone"><?php echo $row->mp_name;?></td>
											<td class="center hidden-phone"><?php echo $row->mp_passgrade;?></td>
											<td>
												<?php if($row->nilai >= $row->mp_passgrade){ ?><span class="label label-success">Lulus</span>
												<?php }else{ ?><span class="label label-inverse">Gagal</span><?php }?>
											</td>
											<td><a class="btn mini blue" href="<?php echo base_url().'user/ujian/show_result/'.$row->uj_id;?>">Detail</a></td>
										</tr>
									<?php }?>
									</tbody>
								</table>
								
								<a href="<?php echo base_url();?>user/laporan/export/<?php echo $id;?>" class="btn green">Excel</a>
							</div>